home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.n
/
source.n
< prev
next >
Wrap
Text File
|
1995-07-25
|
2KB
|
67 lines
ssssoooouuuurrrrcccceeee((((nnnn)))) TTTTccccllll (((( )))) ssssoooouuuurrrrcccceeee((((nnnn))))
_________________________________________________________________
NNNNAAAAMMMMEEEE
source - Evaluate a file as a Tcl script
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ssssoooouuuurrrrcccceeee _f_i_l_e_N_a_m_e
_________________________________________________________________
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Read file _f_i_l_e_N_a_m_e and pass the contents to the Tcl
interpreter as a script to evaluate in the normal fashion.
The return value from ssssoooouuuurrrrcccceeee is the return value of the last
command executed from the file. If an error occurs in
evaluating the contents of the file then the ssssoooouuuurrrrcccceeee command
will return that error. If a rrrreeeettttuuuurrrrnnnn command is invoked from
within the file then the remainder of the file will be
skipped and the ssssoooouuuurrrrcccceeee command will return normally with the
result from the rrrreeeettttuuuurrrrnnnn command. If _f_i_l_e_N_a_m_e starts with a
tilde, then it is tilde-substituted as described in the
TTTTccccllll____TTTTiiiillllddddeeeeSSSSuuuubbbbsssstttt manual entry.
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
file, script
Page 1 (printed 7/17/95)